﻿package events 
{
	import flash.events.Event;
	import model.User;
	
	/**
	 * ...
	 * @author Slavshik Alexander
	 */
	public class UserEvent extends Event 
	{
		public static var INITED:String = "onUserInfoLoaded";
		public static var FRIENDS_LOADED:String = "onUserFriendsLoaded";
		public static var FRIENDS_INITED:String = "onUserFriendsInited";
		public var user:User;
		
		public function UserEvent(type:String) { 
			super(type);
		} 
		public override function toString():String { 
			return formatToString("UserEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}